package cn.tedu.lucky.draw.server.service;

import cn.tedu.lucky.draw.server.protocol.po.Prize;
import cn.tedu.lucky.draw.server.protocol.query.PrizeQuery;

import java.util.List;

public interface IPrizeService {

    /**
     * 根据查询条件获取所有满足条件的奖品对象
     * @param prizeQuery 查询条件对象
     * @return List<Prize> 奖品对象列表
     */
    List<Prize> findAll(PrizeQuery prizeQuery);

    void save(Prize prize);

    List<Prize> findAllByActivityId(Long activityId);

    List<Prize> findNoBindPrizeByActivityId(Long activityId);
}
